﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LibrarySystem
{
    public partial class WebForm13 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void adminCtrlSave_Click(object sender, EventArgs e)
        {
            BusinessLayer.User.addUser(modifyFirstName.Text, modifyLastName.Text, modifyAddress.Text, Convert.ToInt32(modifyCategory.Text), modifyTelNo.Text, modifyUserName.Text, modifyPassWord.Text, modifyID.Text, Convert.ToInt32(modifyAdmin.Text));
            Response.Redirect(Request.RawUrl);
        }
    }
}